package com.bdqn.appjob.tools;

import java.sql.*;

//public class TestDao {
//    public static Connection getConnection(){
//        Connection conn = null;
//        try {
//            Class.forName("oracle.jdbc.driver.OracleDriver");
//            conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:System@T253","System","123456");
//        }catch (Exception e){
//            System.out.println(e);
//        }
//        return conn;
//    }
//
//    public static void main(String[] args) throws SQLException{
//        Connection conn = null;
//        Statement st = conn.createStatement();
//        ResultSet rs = st.executeQuery("select * from ");
//        System.out.println(conn);
//
//    }
//}
